class AddMoredetailToProduct < ActiveRecord::Migration
  def self.up
    add_column :products, :voltage, :integer
    add_column :products, :width, :double
    add_column :products, :long, :double
    add_column :products, :car, :integer
    add_column :products, :ac, :integer
  end

  def self.down
    remove_column :products, :ac
    remove_column :products, :car
    remove_column :products, :long
    remove_column :products, :width
    remove_column :products, :voltage
  end
end
